<?php

$smarty->configLoad($lang . '/votebanners.module.php');
$language = parse_ini_file($lang . '/breadcrumb.module.php', true);
$breadcrumb = $language['votebanners'];
$value = '';
$sql = 'SELECT * FROM ' . DB_CMS . '.module_votebanners';
$dbh = $connection->prepare($sql);
$dbh->execute();
foreach ($dbh->fetchAll(PDO::FETCH_ASSOC) as $row) {
	$value[] = $row;
}
$smarty->assign('value', $value);
$template = 'votebanners/index.tpl';
?>